package com.example.check_oa.model.service;

import com.example.comment_oa.pojos.attendance.Attendance;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.comment_oa.pojos.SysEmployee;
import com.example.comment_oa.pojos_vo.attendanceVo.IconVo;
import com.example.comment_oa.pojos_vo.attendanceVo.MouthVo;
import com.example.comment_oa.pojos_vo.attendanceVo.OneDateVo;
import com.example.comment_oa.pojos_vo.attendanceVo.OriginalVo;

import java.util.List;
import java.util.Map;

/**
* @author cjl
* @description 针对表【attendance】的数据库操作Service
* @createDate 2022-10-26 00:49:30
*/
public interface AttendanceService extends IService<Attendance> {
   //图标
   List<IconVo> iconList(String day, String userNo,int type);
   //打卡
   int add(String day,int type);
   //查看今天有无打卡
   int select1(String day);
   //原始考勤记录--签到记录，根据当前月and工号
   List query(OriginalVo originalVo);
   //公司考勤
   Map all(String day);
   //每月统计
   List<MouthVo> mothAtten(String typeName,String userNo, String time, int is);

   List<MouthVo> test(SysEmployee sysEmployee, String time, int is);
   //每日统计
   List<OneDateVo> oneDate(int deptId, String data);
   //person
   List<SysEmployee> person();
}
